-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.5.5
-
Code
-
Classes
- Converter
Total Complexity |
29 |
Dependencies |
4 |
Dependents |
5 |
Total lines |
158 |
Lines of code |
90 |
Logical lines of code |
55 |
Comment lines |
16 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getConverter() |
A |
51 |
9 |
29 |
unique_file() |
S |
55 |
4 |
20 |
getConverterByExt() |
S |
62 |
3 |
13 |
getReplacementPath() |
S |
56 |
2 |
17 |
isConverterFor() |
S |
70 |
2 |
7 |
convert() |
S |
100 |
1 |
0 |
isConvertable() |
S |
100 |
1 |
0 |
restore() |
S |
100 |
1 |
0 |
getCheckSum() |
S |
100 |
1 |
0 |
updateMetaData() |
S |
100 |
1 |
0 |
getUpdatedMeta() |
S |
100 |
1 |
0 |
setupReplacer() |
S |
100 |
1 |
0 |
setTarget() |
S |
100 |
1 |
0 |
__construct() |
S |
76 |
1 |
4 |